package ch4;

public class Employee {
	String number;
	String name;
	int age;
	String sex;
	String position;
	double salary;

	public void showinfo() {
		System.out.println("工号：" + number + "\n姓名：" + name + "\n年龄：" + age + "\n性别：" + sex + "\n职位：" + position
				+ "\n薪水：" + salary);
	}

}
